package java基础.operator;

/**
 * @projectName: JAVA编程
 * @package: operator
 * @className: Application
 * @author: IT_Jay
 * @description: TODO
 * @date: 2021/11/17 18:54
 */
public class Demo01 {
    public static void main(String[] args) {
        //二元运算符
        //ctrl + D :复制当前行到下一行
        int a = 10;
        int b = 20;
        int c = 30;
        int d = 40;

        System.out.println(a+b);
        System.out.println(a-b);
        System.out.println(a*b);
        System.out.println(a/b);     //int 为整型
        System.out.println(a/(double)b);
    }
}
